package Olivia.olivia3d.model.ms3d
{
	import flash.geom.Vector3D;

	public class MsTriangle
	{
//		typedef struct
//		{
//			word    flags;                                      // SELECTED | SELECTED2 | HIDDEN
//			word    vertexIndices[3];                           //
//			float   vertexNormals[3][3];                        //
//			float   s[3];                                       //
//			float   t[3];                                       //
//			byte    smoothingGroup;                             // 1 - 32
//			byte    groupIndex;                                 //
//		} ms3d_triangle_t;
		public var flags:int;
		public var vertexIndices:Array;
		public var vertexNormals:Array;
		public var s:Array;
		public var t:Array;
		public var smoothingGroup:int;
		public var groupIndex:int;
		
		public function MsTriangle(tf:int, tvi:Array, tvn:Array, ts:Array, tt:Array, tsg:int, tgi:int)
		{
			flags = tf;
			vertexIndices = tvi;
			vertexNormals = tvn;
			s = ts;
			t = tt;
			smoothingGroup = tsg;
			groupIndex = tgi;
		}
	}
}